package com.yixun.qfbao.apidto;

import com.yixun.qfbao.annotation.Constants;
import com.yixun.qfbao.annotation.TYWValid;
import com.yixun.qfbao.apidto.base.CommonReqDTO;

import java.io.Serializable;

/**
 * 编辑角色请求参数
 * @author guifang.weng
 * @create 2017-11-22 15:53
 **/
public class EditChannelRoleReqDto extends CommonReqDTO implements Serializable {
    private static final long serialVersionUID = 4122131661854862264L;
    /**
     * 角色ID
     */
    @TYWValid(min = 1,max = 20,regModel = Constants.NUMBER)
    private Long id;
    /**
     * 角色名称
     */
    @TYWValid(min = 1,max = 20)
    private String roleName;
    /**
     * 角色首页
     */
    private String roleIndexPage;
    /**
     * 备注
     */
    @TYWValid(max = 200)
    private String remark;
    /**
     * 1-开发商，2-分销商
     */
    @TYWValid(min =1)
    private String roleOrigin;
    public String getRoleOrigin() {
		return roleOrigin;
	}

	public void setRoleOrigin(String roleOrigin) {
		this.roleOrigin = roleOrigin;
	}

	public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getRoleIndexPage() {
        return roleIndexPage;
    }

    public void setRoleIndexPage(String roleIndexPage) {
        this.roleIndexPage = roleIndexPage;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
